home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / xgopher.z / xgopher / slib / X11 / app-defaults / Xgopher-complete < prev    next >
Text File  |  1994-09-27  |  18KB  |  445 lines

  1. !=============================================================================
  2. ! Xgopher version 1.3 resources
  3. !=============================================================================
  4. !       This is the distribution file Xgopher-complete.ad, which merges
  5. !       the contents of Xgopher.ad and Xgopher-color.ad.  It is provided
  6. !       as a convenience for users who will ALWAYS use color
  7. !=============================================================================
  8.  
  9. Xgopher.title:            Xgopher 1.3
  10. ! Xgopher.helpFile:        /usr/lib/X11/xgopher/xgopher.help
  11.  
  12. !=============================================================================
  13. ! "Standard" extended types 
  14. !=============================================================================
  15. Xgopher.extendedTypes:        4g
  16.  
  17. Xgopher.type4.sameAs:        9
  18. Xgopher.type4.dataType:        ascii
  19. Xgopher.type4.prefix:          <Mac>
  20. Xgopher.type4.description:     MacIntosh BinHex file
  21.  
  22. Xgopher.typeg.sameAs:        I
  23. Xgopher.typeg.prefix:        <gif>
  24. Xgopher.typeg.description:    gif file
  25.  
  26. !=============================================================================
  27. ! "Experimental" UIUC extended types 
  28. ! These resources are ignored unless the type letter appears in 
  29. ! the list of extendedTypes.
  30. !=============================================================================
  31. ! Xgopher.extendedTypes:    4gjM
  32.  
  33. Xgopher.type0.prefix:        /txt/
  34. Xgopher.type0.description:    text file
  35. Xgopher.type0.dataType:        ascii
  36. Xgopher.type0.execCommand:    xterm -n "%n" -T "%n" -e vi %f
  37.  
  38. Xgopher.typej.prefix:        <kan>
  39. Xgopher.typej.description:    Kanji text file
  40. Xgopher.typej.dataType:        ascii
  41. Xgopher.typej.execCommand:    kterm -sb -e more %f /dev/tty
  42.  
  43. Xgopher.typeM.prefix:        <MTD>
  44. Xgopher.typeM.description:    MTD bus schedule program
  45. Xgopher.typeM.dataType:        None
  46. Xgopher.typeM.execCommand:    /home/tuchman/src/xp/portal %s
  47.  
  48. !=============================================================================
  49. ! Application resources that a user may want to change.
  50. ! Several are commented out because the installer's choice in
  51. ! the file conf.h is most likely correct
  52. !=============================================================================
  53.  
  54. ! Xgopher.rootServer:            gopher.uiuc.edu
  55. ! Xgopher.rootPort:            70
  56. ! Xgopher.mainTitle:            UIUC Gopher Information Service
  57. ! Xgopher.rootPath:
  58. ! Xgopher.helpFile:            /usr/lib/X11/xgopher/xgopher.help
  59. ! Xgopher.bookmarkFile:            ~/.gopherrc
  60.  
  61. Xgopher.printCommand:        enscript -G -b"%n" -p - %f | lpr -Pgfx
  62. Xgopher.telnetCommand:        xterm -n "telnet" -title "%h" -e telnet %h %P &
  63. Xgopher.tn3270Command:        xterm -n "tn3270" -title "%h" -e tn3270 %h %P &
  64. ! Xgopher.tn3270Command:    aixterm -n "tn3270" -title "%h" -e tn3270 %h %P &
  65. ! Xgopher.tn3270Command:    x3270
  66. Xgopher.imageCommand:        xloadimage -quiet
  67. Xgopher.soundCommand:        cat > /dev/audio
  68. ! Xgopher.hasSound:            True
  69.  
  70.  
  71. ! Xgopher.logFile:            
  72. ! Xgopher.tempDirectory:            /tmp
  73.  
  74. !=============================================================================
  75. ! ----- The resource "defaultsInstalled" MUST be set to TRUE -----------------
  76. ! ----- The following two lines must not be changed          -----------------
  77. !=============================================================================
  78.  
  79. Xgopher.defaultsInstalled:        True
  80. Xgopher.resourcesVersion:        1.3
  81.  
  82. !=============================================================================
  83. ! ----- X resources for color ------------------------------------------------
  84. !       This is the distribution file Xgopher-complete.ad, which merges
  85. !       the contents of Xgopher.ad and Xgopher-color.ad.  It is provided
  86. !       as a convenience for users who will ALWAYS use color
  87. !=============================================================================
  88.  
  89. ! COLOR of default fore/background
  90.  
  91. Xgopher*foreground:            Black
  92. Xgopher*borderColor:            MediumBlue
  93. Xgopher*background:            LightSteelBlue1
  94.  
  95. ! COLOR of each widget class (its default color)
  96.  
  97. Xgopher*List*background:        SteelBlue4
  98. Xgopher*List*foreground:        White
  99. !
  100. Xgopher*Text*background:        Black
  101. Xgopher*Text*foreground:        White
  102. Xgopher*Command*background:        LemonChiffon
  103. Xgopher*MenuButton*background:        LemonChiffon
  104. Xgopher*SimpleMenu*background:        LemonChiffon2
  105. Xgopher*Toggle*background:        LemonChiffon
  106. Xgopher*statusForm*background:        SteelBlue3
  107. Xgopher*statusForm*Command*background:    LemonChiffon
  108. Xgopher*statusForm*MenuButton*background:        LemonChiffon
  109. Xgopher*statusForm*SimpleMenu*background:        LemonChiffon2
  110. Xgopher*goBox*background:        SteelBlue3
  111. Xgopher*goBox*Command*background:    LemonChiffon
  112. Xgopher*goBox*MenuButton*background:    LemonChiffon
  113. Xgopher*goBox*SimpleMenu*background:    LemonChiffon2
  114.  
  115. !    These cover for any leftover defaults from previous versions of Xgopher
  116. Xgopher*directory*background:        SteelBlue4
  117. Xgopher*bookmark*background:        SteelBlue4
  118.  
  119. ! COLOR of any displayed text should be consistant, but different
  120. !       than editable text
  121.  
  122. Xgopher*textForm*textDisplay*foreground: white
  123. Xgopher*textForm*textDisplay*background: Navy
  124. Xgopher*textForm*Scrollbar.borderColor: LightSteelBlue1
  125. Xgopher*csoForm*csoText*foreground:    white
  126. Xgopher*csoForm*csoText*background:    Navy
  127.  
  128. ! COLOR of special messages and popups
  129.  
  130. Xgopher*statusForm*status.foreground:        White
  131. Xgopher*statusForm*status.background:        MediumBlue
  132. Xgopher*errorDialog*foreground:            White
  133. Xgopher*errorDialog*background:            Maroon
  134. Xgopher*errorDialog*Command*background:        SlateGray
  135. Xgopher*infoDialog*foreground:            White
  136. Xgopher*infoDialog*background:            CadetBlue
  137. Xgopher*infoDialog*Command*background:        SlateGray
  138. Xgopher*versionShell*foreground:        White
  139. Xgopher*versionShell*background:        SteelBlue
  140. Xgopher*versionShell*Command*background:    SlateGray
  141. Xgopher*statusShell*statusText.background:    IndianRed
  142. Xgopher*statusShell*statusText.foreground:    black
  143. Xgopher*statusShell*background:            DarkSlateBlue
  144. Xgopher*statusShell*foreground:            white
  145. Xgopher*statusShell*Command*background:        LemonChiffon
  146. Xgopher*statusShell*Command*foreground:        black
  147. Xgopher*nameServer*background:            Navy
  148. Xgopher*nameServer*foreground:            white
  149.  
  150. ! COLORs for save popups
  151.  
  152. Xgopher*saveShell*saveForm*dirPath*background:  LightSteelBlue2
  153. Xgopher*saveShell*saveForm*dirPath*foreground:  Black
  154. Xgopher*saveShell*fileErrMessage.foreground:    Red
  155. Xgopher*cdShell*cdErrMessage.foreground:        Red
  156.  
  157.  
  158.  
  159. !=============================================================================
  160. ! ----- X resources for general appearance and cursors -----------------------
  161. !=============================================================================
  162.  
  163. Xgopher*borderWidth:            2
  164. Xgopher*quit.cursorName:        pirate
  165. Xgopher*help.cursorName:        question_arrow
  166. Xgopher*directory.cursorName:        hand2
  167. Xgopher*bookmark.cursorName:        hand2
  168. Xgopher*errorDialog*borderWidth:    5
  169. Xgopher*infoDialog*borderWidth:        3
  170.  
  171. !=============================================================================
  172. ! ----- X resources for text fonts -------------------------------------------
  173. !=============================================================================
  174.  
  175. !      ..... these fonts are good for demos and public access guest accts .....
  176.  
  177. ! Xgopher*font:        -*-helvetica-*-r-*-*-*-140-75-*-*-*-*-*
  178. ! Xgopher*Command.font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  179. ! Xgopher*MenuButton.font:    -*-helvetica-*-r-*-*-*-180-75-*-*-*-*-*
  180. ! Xgopher*status.font:        -*-helvetica-bold-r-*-*-*-180-75-*-*-*-*
  181. ! Xgopher*textDisplay*font:     -*-times-medium-r-*-*-*-140-75-*-*-*-*-*
  182. ! Xgopher*csoText*font:    fixed
  183.  
  184. !      ..... these fonts are good for normal work and defaults .....
  185.  
  186. Xgopher*font:            -*-courier-medium-r-*-*-*-120-75-*-*-*-*-*
  187. Xgopher*textDisplay*font:    -*-courier-medium-r-*-*-*-120-75-*-*-*-*-*
  188. Xgopher*csoText*font:        -*-courier-medium-r-*-*-*-120-75-*-*-*-*-*
  189. Xgopher*nameServer*font:    -*-helvetica-*-r-*-*-*-140-75-*-*-*-*-*
  190. Xgopher*Command.font:        -*-helvetica-*-r-*-*-*-140-75-*-*-*-*-*
  191. Xgopher*MenuButton.font:    -*-helvetica-*-r-*-*-*-140-75-*-*-*-*-*
  192. Xgopher*status.font:        -*-helvetica-bold-r-*-*-*-140-75-*-*-*-*
  193.  
  194. !=============================================================================
  195. ! ----- X resources for text labels ------------------------------------------
  196. !=============================================================================
  197.  
  198. Xgopher*statusForm*quit.label:            Quit
  199. Xgopher*help.label:                Help
  200. Xgopher*statusForm*other.label:            Other Commands
  201. Xgopher*mark.label:                Add selection\nas bookmark
  202. Xgopher*markDirectoryLabel:            Add directory\nas bookmark
  203. Xgopher*unmark.label:                Remove\nbookmark
  204. Xgopher*unmarkAll.label:            Remove all\nbookmarks
  205. Xgopher*up.label:                Previous\nDirectory
  206. Xgopher*fetch.label:                Fetch\nselection
  207. Xgopher*info.label:                Info about\nselection
  208. Xgopher*infoDirectoryLabel:            Info about\ndirectory
  209. Xgopher*directoryTitle.label:            Unknown Directory
  210. Xgopher*bookmarkTitle.label:            Bookmarks
  211. Xgopher*status.label:                status
  212. Xgopher*statusShell*statusCancel.label:        Cancel
  213.  
  214. Xgopher*otherActionsMenu*copy.label:        Copy selected item to file
  215. Xgopher*otherActionsMenu*unmarkAll.label:    Remove all bookmarks
  216. Xgopher*otherActionsMenu*loadMarks.label:    Load bookmarks now
  217. Xgopher*otherActionsMenu*saveMarks.label:    Save bookmarks now
  218. Xgopher*otherActionsMenu*options.label:        Options panel
  219. Xgopher*otherActionsMenu*oneItem.label:        Enter gopher item
  220. Xgopher*otherActionsMenu*version.label:        Version information
  221. Xgopher*otherActionsMenu*restart.label:        Restart
  222.  
  223. Xgopher*textDone.label:                Done
  224. Xgopher*textPageDown.label:            Page down
  225. Xgopher*textPageUp.label:            Page up
  226. Xgopher*textPrint.label:            Print
  227. Xgopher*textSave.label:                Save To File
  228. Xgopher*textHold.label:                Hold
  229. Xgopher*errorDialog.ok.label:            Acknowledge
  230. Xgopher*infoDialog.ok.label:            Ok, thanks!
  231.  
  232. ! Xgopher*saveDialog.label:            Save text to file ...
  233. ! Xgopher*saveDialog.ok.label:            OK
  234. ! Xgopher*saveDialog.cancel.label:        Forget it
  235.  
  236. Xgopher*csoForm*csoDone.label:            Done
  237. Xgopher*csoForm*csoHelp.label:            Help
  238. Xgopher*csoForm*csoDoQuery.label:        Do query
  239. Xgopher*csoForm*csoClearQuery.label:        Clear query
  240. Xgopher*csoForm*csoClearText.label:        Clear text
  241. Xgopher*csoForm*csoQueryLabel.label:        Query name:
  242. Xgopher*csoForm*csoFields.label:        Show Fields 
  243.  
  244. Xgopher*indexForm*indexDoIndex.label:        Do index
  245. Xgopher*indexForm*indexCancel.label:        Cancel
  246. Xgopher*indexForm*indexHelp.label:        Help
  247. !
  248. ! option panel labels
  249. !
  250. Xgopher*optionsPanel*done.label:        Apply changes
  251. Xgopher*optionsPanel*cancel.label:        Cancel
  252. Xgopher*optionsPanel*showWhatLabel.label:    Show all gopher items\n\
  253. even types not supported by Xgopher
  254. Xgopher*optionsPanel*appendBkLabel.label:    Load appends bookmarks to current list\n\
  255. if no, load replaces current list
  256. Xgopher*optionsPanel*loadBkLabel.label:        Load bookmarks at restart
  257. Xgopher*optionsPanel*resetLabel.label:        Reset these options at restart
  258. !
  259. Xgopher*optionsPanel*bkSaveLabel.label:        Bookmark save file:
  260. Xgopher*optionsPanel*printCmdLabel.label:    Print command:
  261. Xgopher*optionsPanel*imageCmdLabel.label:    Image display command:
  262. Xgopher*optionsPanel*telCmdLabel.label:        Telnet command:
  263. Xgopher*optionsPanel*t3270CmdLabel.label:    tn3270 command:
  264. !
  265. ! enter single gopher item panel labels
  266. !
  267. Xgopher*singlePanel*done.label:            Process
  268. Xgopher*singlePanel*clear.label:        Clear Fields
  269. Xgopher*singlePanel*cancel.label:        Cancel
  270. Xgopher*singlePanel*mark.label:            Set Bookmark
  271. Xgopher*singlePanel*giTypeLabel.label:        Type:
  272. Xgopher*singlePanel*giNameLabel.label:        Name:
  273. Xgopher*singlePanel*giPathLabel.label:        Path:
  274. Xgopher*singlePanel*giHostLabel.label:        Host:
  275. Xgopher*singlePanel*giPortLabel.label:        Port:
  276. !
  277. ! version shell labels
  278.  
  279. Xgopher*versionShell*versionDone.label:        Dismiss
  280. !
  281. ! save labels
  282. !
  283. Xgopher*saveForm*dirLabel.label:    The current working directory is:
  284. Xgopher*saveForm*saveLabel1.label:
  285. Xgopher*saveForm*saveLabel2.label:        Enter file name:
  286. Xgopher*saveForm*ok.label:            OK
  287. Xgopher*saveForm*cancel.label:            Cancel
  288. Xgopher*saveForm*chdir.label:            Change directory
  289. Xgopher*saveForm*help.label:            Help
  290. !
  291. Xgopher*cdForm*cdLabel.label:            New Directory Name:
  292. Xgopher*cdForm*ok.label:            OK
  293. Xgopher*cdForm*cancel.label:            Cancel
  294. Xgopher*cdForm*help.label:            Help
  295. !
  296. Xgopher*dupFileForm*label1.label:        The file
  297. Xgopher*dupFileForm*label2.label:  already exists, please select an action:
  298. Xgopher*dupFileForm*ok.label:            Overwrite\ncontents
  299. ! Xgopher*dupFileForm*ok.label:            Overwrite
  300. Xgopher*dupFileForm*change.label:        Enter another\nfile name
  301. ! Xgopher*dupFileForm*change.label:        Change file name
  302. Xgopher*dupFileForm*cancel.label:        Cancel file\nsave or copy
  303. ! Xgopher*dupFileForm*cancel.label:        Cancel
  304. Xgopher*dupFileForm*append.label:        Append to\nexisting file
  305. ! Xgopher*dupFileForm*append.label:        Append
  306. Xgopher*dupFileForm*help.label:            Help
  307. !=============================================================================
  308. ! ----- Translations, including those that keep CR in text entry fields
  309. ! ----- causing proper action.
  310. !
  311. ! ----- If you remove the "ok" actions for "<Key>Return" on any of
  312. ! ----- single line text widgets below, it MUST be replaced with a
  313. ! ----- no-op() action.
  314. !=============================================================================
  315. Xgopher*gopherPanel*Label*translations:    #override \n\
  316.             <Btn1Down>: unselectAll()
  317. Xgopher*gopherPanel*translations:    #override \n\
  318.             <Key>u: up()\n\
  319.             Ctrl<Key>d: quitApp()
  320. Xgopher*saveShell*fileName*translations:    #override \n\
  321.             <Key>Return: saveok()\n\
  322.             Ctrl<Key>u: beginning-of-line() kill-to-end-of-line()
  323. Xgopher*cdShell*cdPathName*translations:    #override \n\
  324.             <Key>Return: cdok()\n\
  325.             Ctrl<Key>u: beginning-of-line() kill-to-end-of-line()
  326. Xgopher*csoQueryText*translations:    #override \n\
  327.             <Key>Return: queryok()\n\
  328.             Ctrl<Key>u: beginning-of-line() kill-to-end-of-line()
  329. Xgopher*indexQueryText*translations:    #override \n\
  330.             <Key>Return: indexok()\n\
  331.             Ctrl<Key>u: beginning-of-line() kill-to-end-of-line()
  332. Xgopher*Text*translations:        #override \n\
  333.             <Key>Return: no-op()\n\
  334.             Ctrl<Key>u: beginning-of-line() kill-to-end-of-line()
  335.  
  336.  
  337. !=============================================================================
  338. ! ----- X layout resources that should not be changed ------------------------
  339. ! ----- Changing these can cause the Xgopher displays to appear corrupted ----
  340. !=============================================================================
  341. !
  342. ! main Xgopher panel
  343. !
  344. Xgopher.minHeight:            400
  345. Xgopher.minWidth:            400
  346. !. Xgopher*gopherPanel.height:        600
  347. !. Xgopher*gopherPanel.width:        600
  348. Xgopher*gopherPanel.orientation:    vertical
  349. Xgopher*statusForm.resizeToPreferred:    True
  350. Xgopher*statusForm.SkipAdjust:        True
  351. Xgopher*statusForm.showGrip:        False
  352. Xgopher*goBox.resizeToPreferred:    True
  353. Xgopher*goBox.SkipAdjust:        True
  354. Xgopher*goBox.showGrip:        False
  355. Xgopher*goBox.spacer.borderWidth:    0
  356. Xgopher*goBox.spacer.width:        20
  357. Xgopher*goBox.spacer.height:        10
  358. Xgopher*goBox.min:            50
  359. Xgopher*goBox.max:            100
  360. Xgopher*directoryForm.min:        60
  361. Xgopher*directoryForm.preferredPaneSize:300
  362. Xgopher*bookmarkForm.preferredPaneSize:125
  363. Xgopher*directoryView.forceBars:    True
  364. Xgopher*bookmarkView.forceBars:        True
  365. Xgopher*directoryView.borderWidth:    1
  366. Xgopher*bookmarkView.borderWidth:    1
  367. Xgopher*directoryTitle.borderWidth:    0
  368. Xgopher*bookmarkTitle.borderWidth:    0
  369. Xgopher*status.borderWidth:        5
  370. Xgopher*status.width:            500
  371. Xgopher*directoryTitle.width:        500
  372. Xgopher*bookmarkTitle.width:        500
  373. Xgopher*directory.width:        500
  374. Xgopher*bookmark.width:            500
  375. !
  376. !  Text display popup window (top level window)
  377. !
  378. Xgopher*textShell.iconName:        Gopher Text
  379. Xgopher*textButtonBox.borderWidth:    0
  380. Xgopher*textDisplay.wrap:        word
  381. Xgopher*textDisplay.width:        400
  382. Xgopher*textShell*Text.displayCaret:    False
  383. !
  384. !  cso nameserver popup window (top level window)
  385. !
  386. Xgopher*csoShell.iconName:        CSO Name Server
  387. Xgopher*nameServer.borderWidth:    0
  388. Xgopher*csoQueryLabel.borderWidth:    0
  389. Xgopher*csoText.displayCaret:        False
  390. Xgopher*csoText.wrap:            word
  391. Xgopher*csoText.scrollVertical:    always
  392. Xgopher*csoText.scrollHorizontal:    never
  393. Xgopher*csoQueryText.editType:        edit
  394. Xgopher*nameServer.width:        400
  395. Xgopher*nameServer.resizable:        True
  396. !
  397. !  keyword search (index) popup
  398. !
  399. Xgopher*indexForm.indexLabel.borderWidth:    0
  400. Xgopher*indexForm.indexLabel.resizable:    True
  401. !
  402. ! ***** options panel resources
  403. !
  404. Xgopher*optionsPanel*itemsForm.vertDistance:        10
  405. Xgopher*optionsPanel*buttonBox.borderWidth:        0
  406. Xgopher*optionsPanel*itemsForm*Box.borderWidth:    0
  407. Xgopher*optionsPanel*itemsForm*Form.borderWidth:    0
  408. Xgopher*optionsPanel*itemsForm*Label.borderWidth:    0
  409. Xgopher*optionsPanel*itemsForm*Toggle.borderWidth:    1
  410. Xgopher*optionsPanel*itemsForm*Text.borderWidth:    1
  411. Xgopher*optionsPanel*bkSaveForm.vertDistance:        15
  412. Xgopher*optionsPanel*itemsForm*Toggle.internalWidth:    2
  413. !
  414. Xgopher*optionsPanel*bkSaveLabel.justify:    right
  415. Xgopher*optionsPanel*printCmdLabel.justify:    right
  416. Xgopher*optionsPanel*imageCmdLabel.justify:    right
  417. Xgopher*optionsPanel*telCmdLabel.justify:    right
  418. Xgopher*optionsPanel*t3270CmdLabel.justify:    right
  419. !
  420. ! ***** single gopher item panel resources
  421. !
  422. Xgopher*singlePanel*itemsForm.vertDistance:    10
  423. Xgopher*singlePanel*buttonBox.borderWidth:    0
  424. Xgopher*singlePanel*itemsForm.borderWidth:    2
  425. Xgopher*singlePanel*itemsForm*borderWidth:    0
  426. Xgopher*singlePanel*itemsForm*Text.borderWidth:    1
  427. Xgopher*singlePanel*Label.justify:        right
  428. !
  429. ! ***** status popup panel resources
  430. Xgopher*statusShell*statusLabel1.borderWidth:    0
  431. Xgopher*statusShell*statusLabel2.borderWidth:    0
  432. !
  433. ! ***** file save/copy panels
  434. !
  435. Xgopher*saveShell*saveForm*dirPath.borderwidth:    2
  436. Xgopher*saveForm*Label.borderWidth:        0
  437. Xgopher*saveForm*saveLabel1.vertDistance:    20
  438. Xgopher*saveForm*saveLabel2.vertDistance:    0
  439. Xgopher*saveForm*dirPath.displayCaret:    False
  440. !
  441. Xgopher*cdForm*Label.borderWidth:        0
  442. !
  443. Xgopher*dupFileForm*Label.borderWidth:    0
  444.